Pronamic\WordPress\Pay\Core\Gateway S

Total Complexity 32
Dependencies 8
Dependents 6
Total lines 322
Lines of code 100
Logical lines of code 50
Comment lines 165
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
get_transient_available_payment_methods()
S
57 6 17
first_payment_method_field()
S
61 4 13
redirect_via_http()
S
63 3 11
redirect()
S
64 3 11
redirect_via_html()
S
66 2 9
__construct()
S
80 1 3
get_output_fields()
S
82 1 3
output_form()
S
80 1 3
create_refund()
S
80 1 3
start()
S
91 1 2
get_available_payment_methods()
S
82 1 3
register_payment_method()
S
81 1 3
payment_redirect()
S
91 1 2
is_html_form()
S
80 1 3
is_http_redirect()
S
80 1 3
set_method()
S
81 1 3
get_payment_methods()
S
80 1 3
get_payment_method()
S
80 1 3
update_status()
S
91 1 2